Skip to content

mikeyhc/kstring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kstring

an extension to the C string libraries

kstring layout

NB: This is subject to change
A kstring contains two additional sections not present in a regular C string, however the pointer that is returned to the component that is a C string so it can be used in regular C string functions. It looks somewhat like this.

purpose | MAGIC    | LENGTH | C STRING |
   type | uint32_t | size_t | char*    |
  • MAGIC - a value to be used to check that this is a kstring
  • LENGTH - the length of the string
  • C STRING - the actual string

About

an extension to the C string libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages